/**
 * val是对象返回true否则返回false
 * @param {object} val
 * @returns {boolean}
 */
export const isObject = (val)=>val instanceof Object;

/**
 * val是数组返回true否则返回false
 * @param {object} val
 * @returns {boolean}
 */
export const isArray = (val)=>Array.isArray(val);
